Debugging with DevTools
SDK Flavor Only
DevTools is only available in SDK flavor. It’s recommended to use SDK flavor to develop and test your app. And use other flavors for production.
Open Developer Tools
DevTools can be opened with keyboard shortcut F12 for Windows and Linux or ⌘+⌥+i.
Alternatively, you may open DevTools programmatically using NW.js API win.showDevTools()` for a window.
Remote Debugging
You can use the --remote-debugging-port=port command line option to specify which port the DevTools should listen to. For example, by running nw --remote-debugging-port=9222, you can open http://localhost:9222/ in your browser to visit the debugger remotely.